﻿namespace OT.HikiSecureCenterApis.Service.Video.Res
{
    public class ResGetCameraOnline
    {
        #region 属性
        /// <summary>
        /// 设备型号
        /// </summary>
        public string deviceType { get; set; }
        /// <summary>
        /// 设备唯一编码
        /// </summary>
        public string deviceIndexCode { get; set; }
        /// <summary>
        /// 区域编码
        /// </summary>
        public string regionIndexCode { get; set; }
        /// <summary>
        /// 采集时间
        /// </summary>
        public string collectTime { get; set; }
        /// <summary>
        /// 区域名字
        /// </summary>
        public string regionName { get; set; }
        /// <summary>
        /// 资源唯一编码
        /// </summary>
        public string indexCode { get; set; }
        /// <summary>
        /// 设备名称
        /// </summary>
        public string cn { get; set; }
        /// <summary>
        /// 码流传输协议，0：UDP，1：TCP
        /// 协议类型，
        /// 海康私有协议：hiksdk_net，
        /// GB/T28181：gb_reg,
        /// eHome协议：ehome_reg，
        /// 大华私有协议：dhsdk_net，
        /// ONVIF协议：onvif_net，
        /// 萤石协议：ezviz_net，
        /// 级联：cascade
        /// </summary>
        public string treatyType { get; set; }
        /// <summary>
        /// 厂商，hikvision-海康，dahua-大华
        /// </summary>
        public string manufacturer { get; set; }
        /// <summary>
        /// ip地址，监控点无此值
        /// </summary>
        public string ip { get; set; }
        /// <summary>
        /// 端口，监控点无此值
        /// </summary>
        public int port { get; set; }
        /// <summary>
        /// 在线状态，0离线，1在线
        /// </summary>
        public int online { get; set; }
        #endregion
    }
}
